package com.yb.designpattern.creation.factory;

/**
 * 抽象产品角色
 *
 * @author yanbiao
 */
public abstract class Car {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void drive();

}
